<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8">

	<link rel="stylesheet" type="text/css" href="/static/css/bootstrap.min.css">
	<link rel="stylesheet" type="text/css" href="/static/css/bootstrap-responsive.min.css" >
	<link rel="stylesheet" type="text/css" href="/static/css/default.css">
	<link rel="stylesheet" type="text/css" href="/static/css/jqueryui.css">
	<link rel="stylesheet" type="text/css" href="/static/css/jsextra.css">
	
	<style type="text/css">
			body {
				padding-top: 40px;
				padding-bottom: 40px;
			}
	</style>
	
	<link rel="shortcut icon" href="/static/img/favicon.ico">

	<title>Knowtemarks</title>

	
</head>

<body>
	<div class="container">
		<div class="row">
			<div class="span2" style="text-align:center;">
				{% if bug is True %}
				<img src="/static/img/bug.png"><br>
				{% end %}
				<h1>{{ status }}</h1>
			</div>
			<div class="span10">
				<div class="alert alert-error">
					<h3 class="alert-heading">Errors occured</h3>
						{% if bug is True %}
							<p>&nbsp;</p>
							<strong>Oooooops! This should not have happened. We will fix this issue, soon!</strong>
							<p>&nbsp;</p>
							<p>You do not need to report anything, because we are so awesome to trace every error!
							<br>We are so smart, we are so smart - S M R T!<br>
							Have a look at the error messages in detail:
							</p>
						{% end %}
						<ul>
						{% for e in errors %}
							<li>{{ e }}</li>
						{% end %}
						</ul>
				</div>
				{% if traceback is not None %}
				<div class="well">
					<h4>Traceback</h4>
					<p>{% raw traceback %}</p>
				</div>
				{% end %}
			</div>
		</div>
		<div class="pull-right">
			<a href="/" class="btn">Overview</a>
		</div>
	</div>
	<script type="text/javascript" src="/static/js/jquery.js"></script>
	<script type="text/javascript" src="/static/js/jqueryui.js"></script>
	<script type="text/javascript" src="/static/js/tagman.js"></script>
	<script type="text/javascript" src="/static/js/bootstrap.min.js"></script>
	<script type="text/javascript" src="/static/js/jquery-jtemplates.js"></script>
	<script type="text/javascript" src="/static/js/main.js"></script>
</body>

</html>
